package com.cos.hospital.ui.usercenter.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.cos.hospital.R;
import com.cos.hospital.model.bean.user.MyAssisBean;

import java.util.List;

/**
 * @Description: 我的助理适配器
 * @Author: Kosmos
 * @Date: 2018年09月13日 20:52
 * @Email: KosmoSakura@foxmail.com
 */
public class MyAssisAdapter extends BaseQuickAdapter<MyAssisBean, BaseViewHolder> {

    public MyAssisAdapter(@Nullable List<MyAssisBean> data) {
        super(R.layout.item_assis, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MyAssisBean item) {
        helper.setText(R.id.item_assis_name, item.getFldAssistantName());
    }
}
